package com.zhanghe.study.design_pattern.memento_pattern;

/**
 * 备忘录管理对象
 * @author zh
 * @date 2022/10/18 11:56
 */
public class Caretaker {
    private Memento memento;

    public Memento retriveMemento() {
        return memento;
    }

    public void saveMemento(Memento memento) {
        this.memento = memento;
    }
}
